<script setup lang="ts">
import PanFileBodyWrap from "./components/PanFileBodyWrap.vue";
import PanFileNav from "./components/PanFileNav.vue";
import PanToolbar from "./components/PanToolbar.vue";
</script>

<template>
  <el-container class="pan-wrapper">
    <el-aside width="200px">
      <PanFileNav />
    </el-aside>
    <el-container>
      <el-header>
        <PanToolbar />
      </el-header>
      <el-main>
        <PanFileBodyWrap />
      </el-main>
    </el-container>
  </el-container>
</template>
<style lang="scss" scoped>
.pan-wrapper {
  transition: all 0.3s;

  .el-container {
    padding: 0 1px;

    .el-header {
      --el-header-padding: 0 10px;
    }

    .el-main {
      --el-main-padding: 10px 10px 0 10px;
    }
  }
}
</style>
